import request from '@/utils/request'

// 查询日数据data列表
export function listDayData(query) {
  return request({
    url: '/basic/dayData/list',
    method: 'get',
    params: query
  })
}

// 查询日数据data详细
export function getDayData(id) {
  return request({
    url: '/basic/dayData/' + id,
    method: 'get'
  })
}

// 新增日数据data
export function addDayData(data) {
  return request({
    url: '/basic/dayData',
    method: 'post',
    data: data
  })
}

// 修改日数据data
export function updateDayData(data) {
  return request({
    url: '/basic/dayData',
    method: 'put',
    data: data
  })
}

// 删除日数据data
export function delDayData(id) {
  return request({
    url: '/basic/dayData/' + id,
    method: 'delete'
  })
}

// 导出日数据data
export function exportDayData(query) {
  return request({
    url: '/basic/dayData/export',
    method: 'get',
    params: query
  })
}